//
//  ALPS_PlayerMainViewController.h
//  Alps
//
//  Created by dllo on 16/6/12.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import "ALPS_BaseViewController.h"
#import <AVFoundation/AVFoundation.h>
#import "ALPS_PlayMusicTool.h"


//用枚举来展示播放方式
typedef NS_ENUM(NSUInteger, ALPS_PlayStyle)
{
    OnListStyle,  // 列表顺序
    OneSongStyle, // 单曲循环
    RandomStyle,  // 随机播放
};

@interface ALPS_PlayerMainViewController : ALPS_BaseViewController

/**
 *  trackId (可以全部根据它请求到)
 */
@property (nonatomic, assign) NSInteger trackId;

/**
 *  列表数组
 */
@property (nonatomic, strong) NSMutableArray *listArr;


/**
 *  监控播放模式(枚举)
 */
- (void)changePlayStyleByStyle:(ALPS_PlayStyle)Style;


//+ (instancetype)shareInstance;


@property (nonatomic, strong) ALPS_PlayMusicTool *player;

#pragma mark 下面的属性都是和广播有关的

// 判断是否是广播
@property (nonatomic, assign) BOOL isRedioYesOrNo;
// 广播名字
@property (nonatomic, copy) NSString *radioName;
// 旋转图url
@property (nonatomic, copy) NSString *pictureURL;
// 广播url
@property (nonatomic, copy) NSString *radioURL;

@end
